]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
runDialog: don't destroy on close
authorRay Strode <rstrode@redhat.com>
Sat, 6 Apr 2013 15:09:06 +0000 (11:09 -0400)
committerRay Strode <rstrode@redhat.com>
Sat, 6 Apr 2013 15:10:30 +0000 (11:10 -0400)
It's a singleton like the endSessionDialog

https://bugzilla.gnome.org/show_bug.cgi?id=697435

js/ui/runDialog.js

index 9d288d92a8732d45e312f81ecd3514d6744d6ec5..7b753a77fce0f80b7e640d86dd2e6057f312f76e 100644 (file)
@@ -35,7 +35,8 @@ const RunDialog = new Lang.Class({
     Extends: ModalDialog.ModalDialog,
 
     _init : function() {
-        this.parent({ styleClass: 'run-dialog' });
+        this.parent({ styleClass: 'run-dialog',
+                      destroyOnClose: false });
 
         this._lockdownSettings = new Gio.Settings({ schema: LOCKDOWN_SCHEMA });
         this._terminalSettings = new Gio.Settings({ schema: TERMINAL_SCHEMA });